package com.aimee.test;

import com.aimee.dao.StuExamDAO;

import java.sql.SQLException;
import java.util.List;

public class StuExamDAOtest {
    public static void main(String[] args) throws SQLException {
        StuExamDAO dao=new StuExamDAO();
  /*      List list=dao.showmyexam(100003,"进行中");
        int count=(int)dao.countmyallexam(100003,"进行中");
   List list1=dao.findmyexambysth(100003, "2020-05-28", "2020-05-30");
        int count1=(int)dao.countmyexambysth(100003, "2020-05-28", "2020-05-30");*/
  dao.updatescoreetc(70,30,1);
/*       List list=dao.showmyexamrecord(100003);
        int count= Math.toIntExact(dao.countallmyexamrecord(100003));
        List list2=dao.findmyexamrecordbysth(100004,10003);
        int count2= Math.toIntExact(dao.countmyexamrecordbysth(100004, 10003));*/
       /* System.out.println(list);
        System.out.println(list1);*/
    }
}
